package com.movitech.mobile.cz.base.supplier.mapper.ext;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.movitech.mobile.cz.base.supplier.entity.ext.ExtSEvaluationPerformScores;
import com.movitech.mobile.cz.base.supplier.entity.ext.SEvaluationPerformScoresFindRequest;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 供方评估--履约评分 Mapper 接口
 * </p>
 *
 * @author Blue.Xia
 * @since 2018-03-06
 */
@Component
@Mapper
public interface ExtSEvaluationPerformScoresMapper extends BaseMapper<ExtSEvaluationPerformScores> {

    List<ExtSEvaluationPerformScores> findEvaluationPerformScoresList(SEvaluationPerformScoresFindRequest sEvaluationPerformScoresFindRequest);

	Integer getMaxBatchCodeByEvaluationId(@Param("evaluationId") String evaluationId);

	/**
	 * 获取履约评估初始化打分模版
	 * @param map
	 * @return
	 */
	List<ExtSEvaluationPerformScores> getEvaluationPerformScoresTemplate(Map<String, Object> map);
}
